<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>善易文化</title>
	<meta name="keywords" content="">
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<link rel="stylesheet" href="{:HOME}css/base.css">
	<link rel="stylesheet" href="{:HOME}css/login.css">
	<script src="{:HOME}js/jquery.min.js"></script>
</head>
<body>
	<div class="login-z">
		<!-- 头部 -->
		<div class="head" >
			<div class="head-c">
				<!-- 手机版 -->
				<div class="logo">
					<a href="/"><img src="{:HOME}img/logo_03.png" alt=""></a>
				</div>
			</div>
		</div>
		<!-- end -->
		<!-- 内容 -->
		<div class="login-content o_hidden">
			<div class="login-c o_hidden">
				<div class="login-txt o_hidden">
					<div class="login-list " id="login-list">
						<p>注册</p>
						<div class="login-lis o_hidden">
							<ul class="o_hidden">
								<li>
									<div class="login-div">
										<div class="lgoin-img">
											<img src="{:HOME}img/login_03.png" alt="">
										</div>
										<input type="text" class="login-input" name="mobile" placeholder="请输入手机号">
									</div>
								</li>
								<li>
									<div class="login-div">
										<input type="text" class="l-input" name="code">
										<a href="javascript:;" class="l-btn a-yan">获取验证码</a>
									</div>
								</li>
								<li>
									<div class="login-div">
										<div class="lgoin-img">
											<img src="{:HOME}img/login_07.png" alt="">
										</div>
										<input type="text" class="login-input" placeholder="请输入您的密码">
									</div>
								</li>
								<li>
									<div class="login-div">
										<div class="lgoin-img">
											<img src="{:HOME}img/login_07.png" alt="">
										</div>
										<input type="text" class="login-input" placeholder="请再次输入您的密码">
									</div>
								</li>
								<li>
									<a href="">注册</a>
								</li>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!-- end -->
	</div>
	<script type="text/javascript" src="{:HOME}js/jquery.cookie.js"></script>
	<script type="text/javascript" src="{:HOME}js/code.jquery.js"></script>
	<script type="text/javascript" src="{:DEMO}layer3.1.0/layer/layer.js"></script>
	<script>
		$(function(){
			$(".a-yan").click(function(){
				var $this=$(this);
				var tel = $("input[name=mobile]").val();			
				if (tel=='') {
					layer.msg('手机号不能为空',{icon:7,time:1500});return false;
				}else{
					if(/^1[3|4|5|8][0-9]\d{8}$/.test(tel)){
						getCode($this,type=1,tel);
					}else{
						layer.msg('手机号格式错误',{icon:7,time:1500});
					}
				}
			})
		})
	</script>
</body>
</html>